//package com.jyw.common.core.aspect;
//
//import com.plumelog.core.TraceId;
//import com.plumelog.trace.aspect.AbstractAspect;
//import org.aspectj.lang.JoinPoint;
//import org.springframework.cloud.sleuth.Tracer;
//
//import javax.annotation.Resource;
//
///**
// * @author 沈峻
// * @ClassName LogAspect
// * @Description TODO
// * @Date 2023/7/4 11:35
// **/
//public class LogAspect extends AbstractAspect {
//
//    @Resource
//    private Tracer tracer;
//
//    @Override
//    public Object aroundExecute(JoinPoint joinPoint) throws Throwable {
//        String traceId = tracer.currentSpan().context().traceId();
//        TraceId.logTraceID.set(traceId);
//        return super.aroundExecute(joinPoint);
//    }
//}
